<template>
  <div class="container">
    <el-form ref="elForm" :model="form" :rules="rules" size="medium" label-width="100px">
      <el-form-item label="控制模式：">
        <el-select v-model="form.region" placeholder="">
          <el-option label="01" value="s"></el-option>
          <el-option label="02" value="m"></el-option>
        </el-select>
      </el-form-item>
      <el-form-item label="波特率：">
        <el-select v-model="form.region" placeholder="">
          <el-option label="H.264" value="s"></el-option>
          <el-option label="H.265" value="m"></el-option>
        </el-select>
      </el-form-item>
      <el-form-item label="数据位：">
        <el-select v-model="form.region" placeholder="">
          <el-option label="1280 * 720" value="s"></el-option>
          <el-option label="1280 * 960" value="m"></el-option>
          <el-option label="1920 * 1080" value="m"></el-option>
        </el-select>
      </el-form-item>
      <el-form-item label="校验：">
        <el-select v-model="form.region" placeholder="">
          <el-option label="高" value="s"></el-option>
          <el-option label="中" value="s"></el-option>
          <el-option label="低" value="m"></el-option>
        </el-select>
      </el-form-item>
      <el-form-item label="停止位：">
        <el-select v-model="form.region" placeholder="">
          <el-option label="1fps" value="s"></el-option>
          <el-option label="2fps" value="m"></el-option>
        </el-select>
      </el-form-item>
      <el-form-item class="button">
        <el-button @click="" style="width: 100px">取消</el-button>
        <el-button type="primary" @click="" style="width: 100px; margin-left: 30px">保存</el-button>
      </el-form-item>
    </el-form>
  </div>
</template>

<script>
export default {
  name: 'index',
  data() {
    return {
      title: "",
      open: false,
      queryParams: {
        pageNum: 1,
        pageSize: 10,
      },
      // 表单参数
      form: {
      },
      rules: {
        customerId: [
          { required: true, message: "客户名称不能为空", trigger: "change" }
        ],
      },
    }
  },
  methods: {
  }
}
</script>

<style scoped>
.container {
  margin-left: 15%;
  margin-top: 5%;
}
.button {
  margin-left: 10%;
  margin-top: 5%;
}
</style>
